<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
    <div class="panel panel-default">
    <div class="panel-body">
    <div class="col-sm-12">

        <div class="row ">
            <div class="col-sm-2">
                <input type="text" class="form-control" ng-model="searchform.code" placeholder="设备编号">
                &nbsp;&nbsp;&nbsp;&nbsp;
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control" ng-model="searchform.name" placeholder="设备名称" 
                >
                &nbsp;&nbsp;&nbsp;&nbsp;
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control" ng-model="searchform.binding_company_name"  placeholder="设备所属机构">
                &nbsp;&nbsp;&nbsp;&nbsp;
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control" ng-model="searchform.group_name" placeholder="绑定团名" >
                &nbsp;&nbsp;&nbsp;&nbsp;
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control" ng-model="searchform.remarks" placeholder="备注" >
                &nbsp;&nbsp;&nbsp;&nbsp;
            </div>
            <!-- <label>设备绑定类型</label>&nbsp;&nbsp; -->
            <div class="col-sm-2">
                <select class="form-control" ng-model="searchform.binding_type">
                  <option value="1"> 旅行社评价 </option>
                  <option value="2"> 景区评价 </option>
                  <option value=""> -- 全部 -- </option>
                </select>
                &nbsp;&nbsp;
            </div>
          
        </div>
  
        <div class="row mt10">
            <!-- <label> -->
            <div class="col-sm-2">
                <input type="checkbox" ng-model="usedate" 
                  ng-true-value="1" ng-false-value="0"
                  > 绑定时间</label>&nbsp;&nbsp;
                  <div class="input-group" datetimepicker ng-model="vm.date" options="vm.options">
                      <input class="form-control" />
                      <span class="input-group-addon">
                          <span class="glyphicon glyphicon-calendar"></span>
                      </span>
                  </div>
            </div>
            
            <div class="col-sm-offset-6 col-sm-2">
                <button class="btn btn-block btn-info search pull-right" 
                  ng-click="create()" ng-show="company_code == 'L0002'">添加设备</button>
            </div>
            <div class="col-sm-2">
                <button class="btn btn-block btn-info search pull-right" ng-click="load()">立即搜索</button>
            </div>
        </div>
      
    </div>
    </div>
    </div><!-- searchArea -->


    <div class="panel panel-default">
      <div class="panel-body">
          <table class="table table-condensed table-hover table-bordered">
              <thead>
              <tr>
                <th class="col-md-2 text-center">设备编号</th>
                <th class="col-md-2 text-center">设备名称</th>
                <th class="col-md-1 text-center">设备所属机构</th>
                <th class="col-md-1 text-center">设备绑定类型</th>
                <th class="col-md-2 text-center">绑定团名</th>
                <th class="col-md-1 text-center">绑定时间</th>
                <th class="col-md-2 text-center">备注</th>
                <th class="col-md-1 text-center">操作</th>
              </tr>
            </thead>
            <tbody>
              <tr ng-repeat="obj in objs">
                <td class="text-center">{{obj.code}}</td>
                <td class="text-center">{{obj.name}}</td>
                <td class="text-center">{{obj.binding_company_name}}</td>
                <td class="text-center">{{obj.binding_type_name}}</td>
                <td class="text-center">{{obj.group_name}}</td>
                <td class="text-center">{{obj.binding_time}}</td>
                <td class="text-center">{{obj.remarks}}</td>
                <td class="text-center">
                  <a ng-click="del(obj.id)" class="btn btn-danger btn-xs" ng-show="company_code == 'L0002'">删除</a>
                  <a ng-click="edit(obj.id)" class="btn btn-info btn-xs">编辑</a>
                </td>
                </th>
              </tr>
            </tbody>
          </table>
          <div class="text-right">
              <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
</div>
</div>
</div>